const { querysql } = require('./index')
module.exports = {
  findUserOne: async (id) => await querysql(`select * from exp_user where id='${id}' LIMIT 1`),
  findAdmin: async ({ user, pass }) => await querysql(`select * from exp_admin where user='${user}' and pass='${pass}' LIMIT 1`)
}